cmake_minimum_required(VERSION 3.5)
project(watchDog)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -O0 -g2 -ggdb -pthread")

aux_source_directory(${PROJECT_SOURCE_DIR}/ DIR_SRCS)

include_directories(
 ${PROJECT_SOURCE_DIR}/
 ${PROJECT_SOURCE_DIR}/../tools
)

link_directories(
 ${PROJECT_SOURCE_DIR}/../build/srv/lib
 /srv/lib
 )

add_executable(watchDog ${DIR_SRCS})
target_link_libraries(watchDog log4cplus.a dl)
